export interface ProductFormData {
    id?: string;
    code: string;
    name: string;
    category?: string;
    brand?: string;
    specification?: string;
    unit: string;
    description?: string;
    imageUrl?: string;
    retailPrice: number;
    memberPrice?: number;
    costPrice?: number;
    stockQuantity: number;
    warningQuantity: number;
    status: string;
    isRecommended: boolean;
    tags?: string;
    shelfLife?: number;
    productionDate?: Date;
    expiryDate?: Date;
}

export interface ProductFormProps {
    product?: ProductFormData;
    onSubmit: (data: ProductFormData) => void;
} 